import { request } from '@/utils/request'
import type { Goods } from '@/types/goods'

// 根据商品的id，获取商品的详情
export const getGoodsDetail = (proid: string) => {
  return request<Goods>({
    url: `pro/detail/${proid}`
  })
}
